package com.example.designpattern.decorator;

public class ProgrammerDecoratorSpring extends Decorator {
    private final Person person;

    public ProgrammerDecoratorSpring(Person person){
        this.person=person;
    }
    @Override
    public void know()  {
        person.know();
        System.out.println("了解spring");
    }

}
